package solverdualization;

import ilog.concert.IloException;
import ilog.concert.IloLinearNumExpr;
import problem.SingleWareHouseProblem;
import uncertainty.UncertaintySet;

public class DualLSC extends DualSolver {

	public DualLSC(SingleWareHouseProblem p, UncertaintySet s) throws IloException{
		super(p, s);
	}

	@Override
	public void builModel() throws IloException {
		addObjFunction();
		for(int i = 0; i < dim; i++){
			addDualRest(i);
			addNonNegative(i);
			for(int j = 0; j < dim; j++){
				addCapacityRest(i,j);
				addStorageRest(i,j);
			}
			zeraFull(r, dim, dim-1);
			//zeraFull(y, dim, dim-1);
			zeraFull(y3, dim, dim-1);
		}
	}

}
